package com.portal.exception;

import com.portal.result.ResultCode;
import lombok.Getter;

/**
 * 书城自定义业务异常
 */
@Getter
public class BookBusinessException extends RuntimeException {

    //自定义结果接口
    private ResultCode resultCode;

    public BookBusinessException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}